OPC Studio User's Guide and Reference
Visual Basic Examples (VB 6.0)
Client and Subscriber Development > Examples > Examples in the Product and on the Web > COM Examples > Visual Basic Examples (VB 6.0)
In This Topic

General

For the very simplest, introductory examples, see this page on our main Web site: Integrating VB6 and OPC.

The examples are for Visual Basic 6.0.

Visual Basic (VB 6.0) Development Specifics

Hint: If you need to pass an empty to a COM method or property (e.g. when calling an OPC UA method with no input arguments), use the Array() function, with no argument, to create an empty array. Alternatively, create an (empty) ElasticVector object, and convert it to an array using its ToArray Method.

Examples on GitHub

See Also